<?php
/**
* @package RAM_ListSectors
* @version 1.5.0 Stable, July 2009
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

// Check for any error message from our helper
if ($msg!='') { echo "<p>$msg</p>\n"; }

// display the list of sectors retrieved by our helper
?>

<p><?php echo $intro_para; ?></p>

<form method="post" action="index.php" name="searchForm" />

<input type="hidden" name="option" value="com_recruitmentmanager" />
<input type="hidden" name="task" value="search" />
<input type="hidden" name="Itemid" value="<?php echo $Itemid; ?>" />

  <select name="sector">
         	<option value="" selected><?php echo JText::_('RAM_SELECTSECTOR'); ?></option>
		<option value="All"><?php echo JText::_('RAM_ALL'); ?></option>
<?php
for ($n=0;$n<count($sectors);$n++) {
	echo "<option value='" . $sectors[$n]['id'] . "'>" . $sectors[$n]['desc'] . "</option>\n";
} // eof for loop
?>
	</ul>
<input type="submit" name="search" value="Search" class="btn" />

</form>
